package com.pureut.scheduling.service;

import com.pureut.scheduling.domain.SchedulingHours;
import com.pureut.scheduling.domain.dto.SchedulingHoursDto;
import com.pureut.scheduling.domain.vo.SchedulingHoursVo;

import java.util.List;

/**
 * @Description
 * @Param
 * @Date
 * @Author hl
 **/
public interface ISchedulingHoursService {

    /**
     * 查询标准工时
     */
    List<SchedulingHoursDto> selectHoursList(SchedulingHoursVo schedulingHoursVo);

    /**
     * 新增标准工时
     */
    int insertSchedulingHours(SchedulingHours schedulingHours) throws Exception;

    /**
     * 修改标准工时
     */
    int updateSchedulingHoursEdit(SchedulingHours schedulingHours) throws Exception;

    /**
     * 批量删除标准工时
     */
    int deleteHoursById(String hoursId) throws Exception;

    /**
     * 查询单个标准工时
     */
    SchedulingHoursDto selectHoursById(long hoursId);

    /**
     * 查询线别
     */
    int selectHoursLineById(long hoursLineId);

    /**
     *
     * @param lineId
     * @param materialCode
     * @return
     */
    SchedulingHoursDto selectHoursOnById(long lineId, String materialCode);
}
